<%@ page language="java" pageEncoding="UTF-8"%>
<%@ include file="/commons/jsp/taglibs.jsp"%>
<form name="addDataForm" id="addRoleDataForm" method="post" action="${ctx}/framework/role/save">
	<input type="hidden" name="id" value="${role.id}"/>
	<input type="hidden" name="createTime" value="<fmt:formatDate value='${role.createTime}' pattern='yyyy-MM-dd HH:mm:ss'/>"/>
	<input type="hidden" name="createrId" value="${role.createrId}"/>
	<input type="hidden" name="createrName" value="${role.createrName}"/>
	<table class="infoTable">
		<tbody>
		<tr>
			<th align="right" width="10%">角色名称</th>
			<td><input name="name" class="easyui-validatebox" size="30" value="${role.name}" data-options="required:true" maxlength="50"/>
			</td>
		</tr>
		<tr>
			<th align="right" width="10%">菜单说明</th>
			<td colspan="3">
				<textarea rows="5" style="width: 380px;" id="remark" name="remark" onkeyup="checkLength('remarkError',50,'remark')">${role.remark }</textarea>
				<font color="red"><br />注：50个字符以内，还可以输入<span class="input_font" id="remarkError">50</span>个字符</font>
			</td>
		</tr>
		</tbody>
	</table>
</form>